﻿@model DA.ItemsInOrder
<fieldset>
    <legend>@Translator.Translate("item_in_order_title")</legend>
    <div class="editor-label">
        @Html.DisplayFor(model => model.Item.ItemName)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.Quantity)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Quantity)
        @Html.ValidationMessageFor(model => model.Quantity)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.ItemStatus)
    </div>
    <div class="editor-field">
        @Html.DropDownListFor(model => model.ItemStatus, ViewBag.ItemStatuses as IEnumerable<SelectListItem>)
        @Html.ValidationMessageFor(model => model.ItemStatus)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.SliceId)
    </div>
    <div class="editor-field">
        @Html.DropDownListFor(model => model.SliceId, ViewBag.Slices as IEnumerable<SelectListItem>)
        @Html.ValidationMessageFor(model => model.SliceId)
    </div>
</fieldset>
